package com.okaixz.client.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 陈大专
 * @time 2024/7/26 11:20
 * @des
 **/
@Data
@ApiModel(value = "Tab对象", description = "标签表")
public class TabsDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "父标签的id")
    private Long parentId;

    @ApiModelProperty(value = "状态 0禁用 1启用")
    private Long status;

    @ApiModelProperty(value = "标签名")
    private String name;

    @ApiModelProperty(value = "跳转路径")
    private String linkTo;

    @ApiModelProperty(value = "标签图标链接")
    private String icon;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    private List<TabsDto> childList;

}
